export default {
  onNegative: [
    { required: true, message: '请输入数值', trigger: 'blur' },
    {
      type: 'string', message: '不支持负数', pattern: /^[0-9]+?$/,
    }],
  // currency: [
  //   { required: true, message: i18n.t('tip.weikong'), trigger: 'blur' },
  //   {
  //     type: 'string', message: i18n.t('tip.weikong'), pattern: /\S/,
  //   }],
}